package strangeattractor.core;

import java.awt.Color;

public class DefaultPlasmaScheme implements ColorScheme {
	//A color scheme that represents a point according to its neighbours.

	@Override
	public Color getColor(StrangePoint point) {
		double velocity = point.getDistance();
		double angle = (point.getAngle());
		
		return Color.getHSBColor((float)(velocity/10),1.0f,(float)(0.3 + 0.7*angle/Math.PI));
	}


	@Override
	public boolean overrides() {
		return false;
	}

}
